package co.yixiang.yshop.module.infra.controller.app.qrcode.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;

/**
 * @author pepis
 * @apiNote
 **/
@Data
public class QrCodeGenerateMiniDTO {

    @Schema(description = "标头")
    @Max(value = 32, message = "标头最大长度为32")
    private String name;

    @Schema(description = "小程序跳转地址")
    private String path;
}
